import sys

from PyQt6.QtGui import QIcon
from PyQt6.QtWidgets import QApplication

from conf.config import IMG_PATH
from ui.MainWindow import MainWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    title = f"流畅文档下载器"
    icon = QIcon(f'{IMG_PATH}/icon.svg')
    window = MainWindow(title, icon)
    sys.exit(app.exec())
